Thank you very much indeed.
Thank you.
It's great to be here.
So yeah
we're going to be talking today about some of the things that I know about how compilers
work, but sort of I'm going to view it through the lens of Compiler Explorer, which is the
website that I am most associated with and hopefully teach you a thing or two about both
compilers and how to view them in Compiler Explorer.
But yeah, so you've already done a great intro about me, so I'm going to just do a super
turbo version of this.
So yeah, my background originally, I used to make video games.
So since my teenage years in my bedroom, I used to make games.
And for the first 10
12 years of my career
I spent writing video games for Dreamcast
and PlayStation and PC and the early times in sort of the nineties.
I'm showing my age now.
And then I spent a brief stint at Google, where I learned a little bit more than just
trying to make things go super quick using, you know, C, maybe a bit of C++.
But it was mostly still sort of high performance on embedded devices.
So some of you might be old enough to have used the YouTube client on like the Symbian
mobile phones.
If you did, then you use my code.
That was what I was doing.
It was a wild west time before the the Androids and the iPhones came out.
And then as you've just heard, I'm now in the finance sector and I have been for the
last, gosh, 14 years.
Oh dear.
And so in finance
I've worked mostly with what I refer to as low latency trading
but
everyone else calls high frequency trading.
And so there's a sort of theme in all I've done in my entire professional career of making
things go as fast as we can with what we've got.
My side hobbies are writing emulators for the old computers that I had growing up.
And so you can go to various websites and see the online versions of those.
But yes, as you've just heard, really, the thing that I'm here for, the reason that anyone
knows who I am is Compiler Explorer.
We'll see a bit about Compiler Explorer in a second.
But yeah, Compiler Explorer has been around now for about 12, 13 years.
Is it 13?
Yeah, it'll be 13 years coming up soon.
It was the result of an argument I had at work with my then boss
who is now a good
friend of mine.
And we were arguing about whether or not we could use new C++ features in our code base.
We're very performance sensitive.
And he was like saying
we can't use this new for loop
like range for because it might
Presenters
Zugänglich über
Offener Zugang
Dauer
01:01:55 Min
Aufnahmedatum
2025-09-02
Hochgeladen am
2025-11-07 13:26:47
Sprache
en-US
Slides: https://mattgodbolt.github.io/nhr-per...
Abstract:
Modern HPC applications push the boundaries of computational performance, yet developers can treat their compilers as black boxes, missing critical optimization opportunities that could transform their code’s efficiency. In this interactive session, Matt will demonstrate how understanding your compiler’s decision-making can unlock performance improvements in HPC workloads. Through live demonstrations using Compiler Explorer, attendees will discover how modern compilers handle vectorization, loop transformations, and memory access patterns. Matt will show some of the lesser-known features of Compiler Explorer that can help you better understand what’s going on under the hood.
This presentation bridges the gap between high-level HPC programming abstractions and the machine code that ultimately executes on your clusters. Matt will help you analyze your own HPC code’s assembly output, understand why certain optimizations succeed or fail, and leverage our amazing compilers to achieve peak performance.